<?php
use pc\models\News;
use yii\helpers\Url;
$FineNews = News::getFine(1,5,['id','image','title','desc','create_time','view'])['data'];
?>
<!--精华文章-->
<div class="r_box1">
    <h3><span><em>精华</em>文章</span></h3>
    <ul class="limg_rtxt mt20">
        <?php foreach ($FineNews as $newInfo):?>
        <li>
            <a href="<?=Url::to("/news/{$newInfo['id']}.html");?>">
                <em><img src="<?=$newInfo['image']?>" /></em>
                <strong><?=$newInfo['title']?></strong>
                <span><?=date('Y-m-d',$newInfo['create_time'])?></span>
            </a>
        </li>
        <div class="line"></div>
        <?php endforeach; ?>
    </ul>
</div>